package vip.fuxk.blog;

import org.noear.solon.Solon;
import org.noear.solon.annotation.SolonMain;
import org.noear.solon.luffy.impl.JtFunctionLoader;
import vip.fuxk.blog.config.FuckFunctionLoaderFile;

@SolonMain
public class App {


    public static void main(String[] args) {
        Solon.start(App.class, args , app->{
//            String codePath = PropKit.getCodePath();
//            app.http(codePath.concat("**"), new FuckHandler());

            app.context().wrapAndPut(JtFunctionLoader.class, new FuckFunctionLoaderFile()  );
        });
    }
}